package com.ruoyi.cyx.dto;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: 程昱轩
 * @Description: TODO
 * @DateTime: @date 2023/3/22 16:02
 **/

public class LoanDto {
    private Integer id;
    private Integer uid;
    private Integer moneyNum;
    private Integer tid;
    private Integer monthNum;


    private Double interestRate;
    private Date loanDate;



    private BigDecimal repayment;
    private Integer repaymentState;
    public LoanDto() {
    }

    public Integer getId() {
        return id;
    }

    public Integer getMonthNum() {
        return monthNum;
    }

    public void setMonthNum(Integer monthNum) {
        this.monthNum = monthNum;
    }

    public LoanDto(Integer id, Integer uid, Integer moneyNum, Integer tid, Integer monthNum, Double interestRate, Date loanDate, BigDecimal repayment, Integer repaymentState) {
        this.id = id;
        this.uid = uid;
        this.moneyNum = moneyNum;
        this.tid = tid;
        this.monthNum = monthNum;
        this.interestRate = interestRate;
        this.loanDate = loanDate;
        this.repayment = repayment;
        this.repaymentState = repaymentState;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getMoneyNum() {
        return moneyNum;
    }

    public void setMoneyNum(Integer moneyNum) {
        this.moneyNum = moneyNum;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }



    public Double getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(Double interestRate) {
        this.interestRate = interestRate;
    }

    public Date getLoanDate() {
        return loanDate;
    }

    public void setLoanDate(Date loanDate) {
        this.loanDate = loanDate;
    }

    public BigDecimal getRepayment() {
        return repayment;
    }

    public void setRepayment(BigDecimal repayment) {
        this.repayment = repayment;
    }

    public Integer getRepaymentState() {
        return repaymentState;
    }

    public void setRepaymentState(Integer repaymentState) {
        this.repaymentState = repaymentState;
    }
}
